﻿using MemorySiteServer.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace MemorySiteServer.ViewModels.FavoriteGroupViewModels
{
    public class FavoriteGroupGetListResponse
    {
        [Required]
        public string ID { get; set; }
        /// <summary>
        /// 目录名称
        /// </summary>
        [StringLength(32)]
        [Required]
        public string Name { get; set; }
        public virtual List<FavoriteGroupGetListResponse> Children { get; set; }
        public virtual List<Favorite> Favorites { get; set; }
    }
}
